package fun.werfamily.wf.goods.core;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication(scanBasePackages = {"fun.werfamily.wf.goods.core","fun.werfamily.wf.base"})
@MapperScan(basePackages = "fun.werfamily.wf.goods.core.infrastructure.mapper")
@EnableDiscoveryClient
public class WfGoodsCoreApplication {

    public static void main(String[] args) {
        SpringApplication.run(WfGoodsCoreApplication.class, args);
    }

}
